#include <iostream>
#include <climits>

void PrintBinary(int num){
    for (int i=31; i>=0; i--){
        std::cout << ((num & (1 << i))==0 ? "0" : "1");
    }
    std::cout << std::endl;
}

int main(){
    int a = INT_MIN;
    std::cout << "int最小值: " << a << std::endl;
    std::cout << "int最小值的取反+1: " << ~a + 1 << std::endl;

    return 0;
}